export const format = (value) => {
  if (typeof value === "undefined") {
    return "";
  } else if (Array.isArray(value)) {
    return value.join(",");
  } else if (typeof value === "boolean") {
    return value ? "是" : "否";
  }
  return value.toString();
};
